package org.example.gobang.game;

import lombok.Data;

//表示这是一个websocket响应
@Data
public class MatchResponse {
    private boolean ok;
    private String reason;
    private String message;
    private String roomId;
    private int thisUserId;
    private int thatUserId;
    private int whiteUser;
    
    // 构造函数
    public MatchResponse() {}
    
    public MatchResponse(boolean ok, String reason) {
        this.ok = ok;
        this.reason = reason;
    }
}
